/*
 * @Author: your name
 * @Date: 2021-01-08 22:12:59
 * @LastEditTime: 2021-04-29 09:54:37
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \vue-web-seed\src\utils\vant.js
 */
import Vue from 'vue';
import { Button } from 'vant';
import { NavBar } from 'vant';
import { Toast } from 'vant';
import { NoticeBar } from 'vant';
import { Loading, ImagePreview, } from 'vant';
import { Image as VanImage } from 'vant';
import { Lazyload } from 'vant';

Vue.use(Lazyload);

// 注册时可以配置额外的选项
Vue.use(Lazyload, {
    lazyComponent: true,
});
Vue.use(VanImage);
Vue.use(NoticeBar)
Vue.prototype.$Toast = Toast
Vue.prototype.ImagePreview = ImagePreview
Vue.use(NavBar)
Vue.use(Button)
Vue.use(Loading);